package com.bishe.bishe.Service;

import com.bishe.bishe.pojo.Comments;
import com.bishe.bishe.pojo.Species;
import com.github.pagehelper.PageInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;


public interface CommentService {
    PageInfo<Comments> findall(int page, int size);
    int add(Comments comments);
    int update(Integer commentId);
    List<Comments> findById(Integer commentId);
    PageInfo<Comments> findPage(Map<String,Object> searchMap, int page, int size);/*分页查询+模糊查询*/
    List<Comments> findnumber();
    List<Comments> findByOrderId( Integer orderId);
}
